extends layout

block meta
    link(rel="stylesheet", href="#{options.cdn_path}/kindeditor/plugins/code/prettify.css?v=#{options.site_version}")

block content
    include common/_post
    aside.sidebar.c-4-12
        #sidebars.g
            .sidebar
                include common/_sidebar

block script
    script type="text/javascript">
        // duoshuo config
        var duoshuoQuery = {short_name:"#{options.duoshuo_domain }"};
        (function() {
            var ds = document.createElement('script');
            ds.type = 'text/javascript';ds.async = true;
            ds.src = 'http://static.duoshuo.com/embed.js';
            ds.charset = 'UTF-8';
            (document.getElementsByTagName('head')[0]
            || document.getElementsByTagName('body')[0]).appendChild(ds);
        })();
        // wumii config
        var wumiiPermaLink = "http://www.dreamlu.net/blog/#{blog.id}"; //请用代码生成文章永久的链接
        var wumiiTitle = "#{blog.title}"; //请用代码生成文章标题
        var wumiiTags = "nodejs, coffee-script, java"; //请用代码生成文章标签，以英文逗号分隔，如："标签1,标签2"
        var wumiiSitePrefix = "http://www.dreamlu.net/";
        var wumiiParams = "&num=5&mode=2&pf=Jnode";
    script(type="text/javascript", src="http://widget.wumii.com/ext/relatedItemsWidget")
    script(type='text/javascript', src='#{options.cdn_path}/combo?/js/lcm-share.js&v=#{options.site_version}')
